package cytargetlinker.actions;

import java.awt.event.ActionEvent;

import cytoscape.util.CytoscapeAction;

/**
 * opens the plugin website where users can find 
 * tutorials and instructions
 *
 */
public class HelpAction extends CytoscapeAction {

	private String helpDeskURL = "http://code.google.com/p/cytargetlinker/";

	/**
	 * Creates a new HelpAction object
	 */
	public HelpAction() {
		super.initialize();
		putValue(NAME, "Help");
		setPreferredMenu("Plugins");
	}
	
	@Override
	public void actionPerformed(ActionEvent arg0) {
		cytoscape.util.OpenBrowser.openURL(helpDeskURL);
	}

}
